﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmProgramarTurno.aspx.cs" Inherits="Caja.frmProgramarTurno" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8" />
    <title>TP2 - Registrar pago</title>
    <meta name="description" content="Common form elements and layouts" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- basic styles -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
    <!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
    <!-- page specific plugin styles -->
    <link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.custom.min.css" />
    <link rel="stylesheet" href="assets/css/chosen.css" />
    <link rel="stylesheet" href="assets/css/datepicker.css" />
    <link rel="stylesheet" href="assets/css/bootstrap-timepicker.css" />
    <link rel="stylesheet" href="assets/css/daterangepicker.css" />
    <link rel="stylesheet" href="assets/css/colorpicker.css" />
    <!-- fonts -->
    <link rel="stylesheet" href="assets/css/ace-fonts.css" />
    <!-- ace styles -->
    <link rel="stylesheet" href="assets/css/ace.min.css" />
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="assets/css/ace-skins.min.css" />
    <script src="assets/js/jquery-1.10.2.min.js" type="text/javascript"></script>
    <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="assets/js/ace-extra.min.js"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
    <script type="text/javascript">
        $(function (ready) {
            $('#NroTarjeta').hide();

            $('#ddlFormaPago').change(function () {
                $('#TextBox2').val("");

                if ($('#ddlFormaPago').val() == 1) {
                    $('#NroTarjeta').hide();
                }
                else {
                    $('#NroTarjeta').show();
                }
            });
        });        
    </script>
    <style type="text/css">
        .style1
        {
            text-align: left;
            height: 40px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center">
            <tr>
                <td>
                    <h1>
                        Programar Turno de Cajero</h1>
                    <p>
                        &nbsp;</p>
                </td>
            </tr>
        </table>
    </div>
        <div style="padding-left:50px; width:1024px">
        <table align="center">
            <tr>
                <td style="width: 220px" class="text-left">
                    <asp:Button ID="btnBuscar" runat="server" class="btn btn-primary" 
                        Text="Buscar" onclick="btnBuscar_Click" />
                </td>
                <td style="width: 200px" class="text-left">
                    &nbsp;
                    <asp:Button ID="btnNuevo" runat="server" class="btn btn-primary" Text="Nuevo" 
                        onclick="btnNuevo_Click" />
                    </td>
                <td style="width: 200px" class="text-left">
                    &nbsp;
                    <asp:Button ID="btnGuardar" runat="server" class="btn btn-primary" 
                        Text="Guardar" onclick="btnGuardar_Click" />
                </td>
                <td style="width: 180px" class="text-left">
                    &nbsp;
                    <asp:Button ID="btnEditar" runat="server" class="btn btn-primary" 
                        Text="Editar" onclick="btnBuscar_Click" />
                </td>
                <td style="width: 180px" class="text-left">
                    <asp:Button ID="btnEliminar" runat="server" class="btn btn-primary" 
                        Text="Eliminar" onclick="btnBuscar_Click" />
                </td>
                <td style="width: 180px" class="text-left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 220px" class="text-left">
                    &nbsp;</td>
                <td style="width: 200px" class="text-left">
                    &nbsp;</td>
                <td style="width: 200px" class="text-left">
                    &nbsp;</td>
                <td style="width: 180px" class="text-left">
                    &nbsp;</td>
                <td style="width: 180px" class="text-left">
                    &nbsp;</td>
                <td style="width: 180px" class="text-left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="text-left">
                    <strong>Sede</strong>
                </td>
                <td class="text-left">
                    <asp:Label ID="lblSede" runat="server">Prinicipal</asp:Label>
                </td>
                <td class="text-left">
                    <strong>Año</strong></td>
                <td class="text-left">
                    &nbsp;
                    <asp:DropDownList ID="ddlAnio" runat="server">
                    </asp:DropDownList>
                </td>
                <td class="text-left">
                    <strong>Semana</strong></td>
                <td class="text-left">
                    <asp:DropDownList ID="ddlSemana" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="text-left">
                    <strong>Punto de Venta</strong></td>
                <td class="text-left">
                    &nbsp;<asp:DropDownList ID="ddlPtoVenta" runat="server">
                        <asp:ListItem>Punto Vta 1</asp:ListItem>
                        <asp:ListItem>Punto Vta 2</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="text-left">
                    <strong> Mes</strong></td>
                <td class="text-left">
                    &nbsp;
                    <asp:DropDownList ID="ddlMes" runat="server">
                    </asp:DropDownList>
                </td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp</td>
            </tr>
            <tr>
                <td class="style1">
                    <strong>Detalle de Programación Turno</strong>
                </td>
                <td class="style1">
                    &nbsp;
                </td>
                <td class="style1">
                    &nbsp;
                </td>
                <td class="style1">
                    &nbsp;
                </td>
                <td class="style1">
                    </td>
                <td class="style1">
                    </td>
            </tr>
            <tr>
                <td colspan="4" class="text-left">
                    <div>
                        <asp:GridView ID="gvProgramacionTurnos" runat="server" 
                            AutoGenerateColumns="False" onrowdatabound="gvProgramacionTurnos_RowDataBound">
                            <Columns>
                                <asp:BoundField DataField="Item" HeaderText="Item" />
                                <asp:TemplateField HeaderText="Turno">
                                    <EditItemTemplate>
                                        <asp:DropDownList ID="ddlTurno" runat="server">
                                            <asp:ListItem>MAÑANA</asp:ListItem>
                                            <asp:ListItem>TARDE</asp:ListItem>
                                            <asp:ListItem>NOCHE</asp:ListItem>
                                        </asp:DropDownList>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlTurno" runat="server">
                                            <asp:ListItem Value="1">MAÑANA</asp:ListItem>
                                            <asp:ListItem Value="2">TARDE</asp:ListItem>
                                            <asp:ListItem Value="3">NOCHE</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Lunes">
                                    <EditItemTemplate>
                                        <asp:DropDownList ID="ddlCajero" runat="server">
                                        </asp:DropDownList>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroL" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Martes">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroM" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Miercoles">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroMi" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Jueves">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroJ" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Viernes">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroV" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Sabado">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroS" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Domingo">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCajeroD" runat="server">
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp
                </td>
            </tr>
            <tr>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
            </tr>
            <tr id="NroTarjeta">
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
            </tr>
            
            <tr>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;
                </td>
                <td class="text-left">
                    &nbsp;</td>
                <td class="text-left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Label ID="lblMsgError" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>

        <div class="clearfix">
        </div>
        <div>
            <table align="center">
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
